﻿using Cache.Aop.Entities;
using Microsoft.EntityFrameworkCore;

namespace Cache.Aop.MyDbContext
{
    public class ShopDbContext : DbContext
    {
        public ShopDbContext(DbContextOptions<ShopDbContext> options) : base(options)
        {

        }


        public DbSet<UserInfo> UserInfo { set; get; }
        public DbSet<Product> Products { set; get; }
        public DbSet<Stocks> Stocks { set; get; }

    }
}
